package com.rysima.wjsima.demo;

import java.io.*;

public class Demo3 {
    public static void main(String[] args) throws Exception {
        BufferedReader br = new BufferedReader(new FileReader("D:\\hhh.png"));
        BufferedWriter bw = new BufferedWriter(new FileWriter("D:\\woshi.png"));
        String s;
        while((s = br.readLine()) != null){
            bw.write(s);
            bw.flush();
        }
        br.close();
        bw.close();
    }
}
